package io.renren.modules.paper.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.modules.paper.dao.PaperQuestionMapper;
import io.renren.modules.paper.entity.PaperQuestion;
import io.renren.modules.paper.entity.PaperQuestionExample;
import io.renren.modules.paper.service.PaperQueService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Yang
 * @Date 2019/9/9 16:00
 */
@Service
public class PaperQueServiceImpl extends ServiceImpl<PaperQuestionMapper, PaperQuestion> implements PaperQueService {

    @Override
    public long countByExample(PaperQuestionExample example) {
        return baseMapper.countByExample(example);
    }
    @Override
    public int deleteByExample(PaperQuestionExample example) {
        return baseMapper.deleteByExample(example);
    }
    @Override
    public List<PaperQuestion> selectByExample(PaperQuestionExample example) {
        return baseMapper.selectByExample(example);
    }
    @Override
    public int updateByExampleSelective(PaperQuestion record, PaperQuestionExample example) {
        return baseMapper.updateByExampleSelective(record,example);
    }
    @Override
    public int updateByExample(PaperQuestion record, PaperQuestionExample example) {
        return baseMapper.updateByExample(record,example);
    }
}
